<!--#include file="AspCms_UserGroupFun.asp" -->
<%CheckAdmin("AspCms_UserList.asp")%>
<%getUser%>
<html lang="zh-CN" style="min-height: 100%;">
<head>
<title>UserEdit</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />

<link href="https://cdn.bootcss.com/uikit/3.0.0-beta.22/css/uikit.min.css" rel="stylesheet">
<link href="https://cdn.bootcss.com/jquery.perfect-scrollbar/0.7.0/css/perfect-scrollbar.min.css" rel="stylesheet">
<link href="../../css/timoo/fancySelect.css" rel="stylesheet">
<link href="../../css/timoo/jquery.datetimepicker.min.css" rel="stylesheet">
<link href="../../css/timoo/timoo.css" rel="stylesheet">

<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script src="../../ueditor/ueditor.config.js"></script>
<script src="../../ueditor/ueditor.all.min.js"> </script>
<script src="../../ueditor/lang/zh-cn/zh-cn.js"></script>
<script src="https://cdn.bootcss.com/uikit/3.0.0-beta.22/js/uikit.min.js"></script>
<script src="https://cdn.bootcss.com/uikit/3.0.0-beta.22/js/uikit-icons.min.js"></script>
<script src="https://cdn.bootcss.com/jquery.perfect-scrollbar/0.7.0/js/perfect-scrollbar.jquery.min.js"></script>
<script src="../../js/timoo/icheck.min.js"></script>
<script src="../../js/timoo/fancySelect.js"></script>
<script src="../../js/timoo/jquery.datetimepicker.full.min.js"></script>
<script src="../../js/timoo/timoo.js"></script>
</head>
<body>
<div class="tm-right">
    <div class="main">
        <div class="section setting-company user">
            <div class="layout">
                <div class="title">修改用户信息</div>
                <div class="content">
                    <form name="form" action="?action=edit" method="post">
                        <div class="tm-transition radio table-select list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">用户组</span>
                            </div>
                            <div class="uk-clearfix input">
                                <li class="uk-clearfix uk-float-left input-select transverse-select">
                                    <%=userGroupSelect("GroupID",GroupID,"0 and GroupID<>2")%>
                                </li>
                            </div>
                        </div>
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">用户名称</span>
                            </div>
                            <div class="input">
                                <input type="text" maxLength="200" name="LoginName" value="<%=LoginName%>" readonly>
                            </div>
                        </div>
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">用户密码</span>
                                <i class="tm-transition icon" uk-icon="icon: info" uk-tooltip="pos: right" title="不修改密码请留空。"></i>
                            </div>
                            <div class="input">
                                <input type="Password" maxLength="200" name="Password">
                            </div>
                        </div>
                        <div class="tm-transition checkbox list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">是否启用</span>
                            </div>
                            <div class="uk-clearfix input">
                                <label for="User-Status" class="uk-clearfix uk-float-left tm-transition">
                                    <span class="uk-float-left check">
                                        <i class="tm-transition icon" uk-icon="icon: check"></i>
                                    </span>
                                    <span class="uk-float-left">启用</span>
                                    <input id="User-Status" type="checkbox" name="UserStatus" <%if UserStatus=1 then%> checked="checked"<%end if%>>
                                </label>
                            </div>
                        </div>
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">姓名</span>
                            </div>
                            <div class="input">
                                <input type="text" maxLength="200" name="TrueName" value="<%=TrueName%>">
                            </div>
                        </div>
                        <div class="tm-transition radio list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">性别</span>
                            </div>
                            <div class="uk-clearfix input">
                                <label for="Gender-Male" class="uk-clearfix uk-float-left tm-transition">
                                    <span class="uk-float-left check">
                                        <i class="tm-transition icon" uk-icon="icon: check"></i>
                                    </span>
                                    <span class="uk-float-left">男</span>
                                    <input id="Gender-Male" type="radio" name="Gender" value="1" <%if Gender=1 then%>checked<%end if%>>
                                </label>
                                <label for="Gender-Female" class="uk-clearfix uk-float-left tm-transition">
                                    <span class="uk-float-left check">
                                        <i class="tm-transition icon" uk-icon="icon: check"></i>
                                    </span>
                                    <span class="uk-float-left">女</span>
                                    <input id="Gender-Female" type="radio" name="Gender" value="2" <%if Gender=2 then%>checked<%end if%>>
                                </label>
                            </div>
                        </div>
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">出生日期</span>
                            </div>
                            <div class="input">
                                <input id="Date-Birthday" type="text" name="Birthday" value="<%=FormatDate(Birthday, "yy-m-d")%>">
                            </div>
                        </div>
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">地址</span>
                            </div>
                            <div class="input">
                                <input type="text" maxLength="200" name="Address" value="<%=Address%>">
                            </div>
                        </div>
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">邮编</span>
                            </div>
                            <div class="input">
                                <input type="text" maxLength="200" name="PostCode" value="<%=PostCode%>">
                            </div>
                        </div>
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">固定电话</span>
                            </div>
                            <div class="input">
                                <input type="text" maxLength="200" name="Phone" value="<%=Phone%>">
                            </div>
                        </div>
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">移动电话</span>
                            </div>
                            <div class="input">
                                <input type="text" maxLength="200" name="Mobile" value="<%=Mobile%>">
                            </div>
                        </div>
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">电子邮箱</span>
                            </div>
                            <div class="input">
                                <input type="text" maxLength="200" name="Email" value="<%=Email%>">
                            </div>
                        </div>
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">QQ号码</span>
                            </div>
                            <div class="input">
                                <input type="text" maxLength="200" name="QQ" value="<%=QQ%>">
                            </div>
                        </div>
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">MSN</span>
                            </div>
                            <div class="input">
                                <input type="text" maxLength="200" name="MSN" value="<%=MSN%>">
                            </div>
                        </div>
                        <div class="uk-clearfix tm-transition list submit">
                            <div class="uk-float-left input">
                                <input type="submit" value="保存">
                            </div>
                            <div class="uk-float-left input">
                                <input type="button" value="返回" onClick="history.go(-1)"> 
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    jQuery.datetimepicker.setLocale('zh');
    
    jQuery('#Date-Birthday').datetimepicker({
        
        format:'Y-m-d',
        timepicker:false,
        step: 1,
        
    });
</script>
</body>
</html>